package com.lyf.dao;

import java.util.List;

import com.lyf.dao.base.BaseDao;
import com.lyf.pojo.IdeaDiscuss;

public class IdeaDiscussDao extends BaseDao<IdeaDiscuss,String>{

	public List<IdeaDiscuss> findByIdeaid(String id) {
		String hql = "from IdeaDiscuss where t_idea_id = ? order by id_createTime desc";
		return findByAllHql(hql, id);
	}

}
